﻿using characterCounter;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238

namespace characterCounter
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class ResultsPage : Page
    {
        public ResultsPage ()
        {
            this.InitializeComponent();
            App app = Application.Current as App;
            TextBlockResultsPage.Text = app.CharNumber + "";
        }

        public void BackButtonClicked(object sender, RoutedEventArgs e)
        {
            this.Frame.Navigate(typeof(FirstPage), null);
        }
    }
}
